<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of BAppModule
 *
 * @author I062261
 */
class BAppModule extends CWebModule {

    public function __construct($id, $parent, $config = null) {
        parent::__construct($id, $parent, $config);

        $appClass = str_replace('Module', '', get_class($this));

        //when inital module, also initialize app correspondingly
        Blyn::app()->setActiveApp(new $appClass());
    }

}

?>
